#! /bin/bash
import rospy
from geometry_msgs.msg import Twist

rospy.init_node("twist_pub")
pub=rospy.Publisher("/turtle1/cmd_vel",Twist,queue_size=10)
rate=rospy.Rate(10)
twist=Twist()
twist.linear.x=1
twist.angular.z=1
while not rospy.is_shutdown():
    pub.publish(twist)
    rate.sleep()